# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-upnpclient
pkgver=1.0.3
pkgrel=6
pkgdesc="Library for accessing uPnP devices"
url="https://github.com/flyte/upnpclient"
arch="noarch"
license="MIT"
depends="
	py3-dateutil
	py3-ifaddr
	py3-lxml
	py3-requests
	py3-six
	python3
	"
makedepends="
	py3-pytest-runner
	"
checkdepends="
	py3-mock
	py3-pytest
	py3-pytest-runner
	"
subpackages="$pkgname-pyc"
source="https://pypi.python.org/packages/source/u/upnpclient/upnpclient-$pkgver.tar.gz"
options="!check" # No tests in PyPi package
builddir="$srcdir/upnpclient-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --root="$pkgdir"
}

sha512sums="
6f730fb86177b4a23aaaab4c9ea844a669921e15da99d5f67434cfe9db485eaf1316390cb7be5e1b6ad156b3a43fab1723c1f85af51a1f033690bb99ebef0b44  upnpclient-1.0.3.tar.gz
"
